package com.zhonggong.nine;

public class Name {
	private String firstName;
	private String lastName;
	private char mi;
	
	public Name(String firstName, char mi,String lastName) {
		super();
		this.firstName = firstName;
		this.mi = mi;
		this.lastName = lastName;
		
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public char getMi() {
		return mi;
	}

	public void setMi(char mi) {
		this.mi = mi;
	}
	
	public String getFullName() {
		return firstName+" "+mi+" "+lastName;
	}
	
	
	
}
